Quorum sensing enables bacteria to control the gene expression in response to the cell density. It regulates a variety of bacterial physiological functions such as biofilm formation, bioluminescence, virulence factors and swarming which has been shown contribute to bacterial pathogenesis. The use of quorum sensing inhibitor would be of particular interest in treating bacterial pathogenicity and infections. In this work, we have tested caffeine as quorum sensing inhibitor by using Chromobacterium violaceum CV026 as a biosensor. We verified that caffeine did not degrade the N-acyl homoserine lactones tested. In this work, it is shown that caffeine could inhibit N-acyl homoserine lactone production and swarming of a human opportunistic pathogen, namely Pseudomonas aeruginosa PA01. To the best of our knowledge, this is the first documentation providing evidence on the presence of anti-quorum sensing activity in caffeine. Our work will allow caffeine to be explored as anti-infective drugs.